import * as http from 'http';
//====================

const server = http.createServer(function(request:http.IncomingMessage,response:http.ServerResponse):void{
    console.log("create a server...");
    response.writeHead(200,{'Content-Type':'text/plain'});
    response.write('Hello world,I love u.');
    response.end();
});

server.listen(4000,function(){
    console.log("Server listening on port 3044400");
    console.log("test.fff..");

    console.log("what");
});